package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class login_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static java.util.Vector _jspx_dependants;

  public java.util.List getDependants() {
    return _jspx_dependants;
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;


    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html; charset=gb2312");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n");
      out.write("<html>\r\n");
      out.write("<head>\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n");
      out.write("<title>欢迎光临克莱斯勒论坛</title>\r\n");
      out.write("<script type=\"text/javascript\">\r\n");
      out.write("function guestLogin()\r\n");
      out.write("{\r\n");
      out.write("\tdocument.form1.id.value=\"guest\";\r\n");
      out.write("\tdocument.form1.submit();\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function setFocus()\r\n");
      out.write("{\r\n");
      out.write("\tdocument.form1.id.focus();\r\n");
      out.write("\treturn;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function focusNext() {\r\n");
      out.write("\tvar charCode =event.keyCode;\r\n");
      out.write("\tif (charCode == 13) {\r\n");
      out.write("\r\n");
      out.write("\t\tif(document.form1.id.value!=\"\"){\r\n");
      out.write("\t\t\tdocument.form1.passwd.focus();\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\telse{\r\n");
      out.write("\t\t\tdocument.form1.id.focus();\r\n");
      out.write("\t\t}\r\n");
      out.write("\r\n");
      out.write("\t\treturn false;\r\n");
      out.write("\t}\r\n");
      out.write("\treturn true;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function chkpwd(){\r\n");
      out.write("\tvar charCode =event.keyCode;\r\n");
      out.write("\tif (charCode == 13) {\r\n");
      out.write("\t\tif(document.form1.passwd.value!=\"\"){\r\n");
      out.write("\t\t\tdocument.form1.submit();\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\telse{\r\n");
      out.write("\t\t\tdocument.form1.passwd.focus();\r\n");
      out.write("\t\t}\r\n");
      out.write("\r\n");
      out.write("\t\treturn false;\r\n");
      out.write("\t}\r\n");
      out.write("\treturn true;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function chkform(){\r\n");
      out.write("\tif(document.form1.id.value==\"guest\"){\r\n");
      out.write("\t\tdocument.form1.passwd.value=\"\";\r\n");
      out.write("\t\tdocument.form1.submit();\r\n");
      out.write("\t}else if(document.form1.id.value==\"\"){\r\n");
      out.write("\t\tdocument.form1.id.focus();\r\n");
      out.write("\t}else if(document.form1.passwd.value==\"\"){\r\n");
      out.write("\r\n");
      out.write("\t\tdocument.form1.passwd.focus();\r\n");
      out.write("\t}else{\r\n");
      out.write("\t\treturn true;\r\n");
      out.write("\t}\r\n");
      out.write("\t\treturn false;\r\n");
      out.write("}\r\n");
      out.write("</script>\r\n");
      out.write("<style type=\"text/css\">\r\n");
      out.write("body{\r\n");
      out.write("\ttext-align:center;\r\n");
      out.write("\tpadding:0;\r\n");
      out.write("\tmargin:20px 0 0 0;\r\n");
      out.write("\tbackground-image: url(img/sand1.jpg);\r\n");
      out.write("\tbackground-color: #FFFFCC;\r\n");
      out.write("\tmargin-top: 0px;\r\n");
      out.write("\t}\r\n");
      out.write("div#flash{\r\n");
      out.write("\tmargin: 0;\r\n");
      out.write("\tpadding: 0;\r\n");
      out.write("\t}\r\n");
      out.write("div#info{\r\n");
      out.write("\tmargin: 30px 0 0 0;\r\n");
      out.write("\tpadding: 10px 0 20px 0;\r\n");
      out.write("\ttext-align: center;\r\n");
      out.write("\tfont-size: 12px;\r\n");
      out.write("\tbackground-color:#edeff0;\r\n");
      out.write("\t}\r\n");
      out.write("div#login{\r\n");
      out.write("\tmargin-left: auto;\r\n");
      out.write("\tmargin-right: auto;\r\n");
      out.write("\tmargin-top: 0;\r\n");
      out.write("\tmargin-bottom: 0;\r\n");
      out.write("\twidth: 540px;\r\n");
      out.write("\ttext-align: center;\r\n");
      out.write("\t}\r\n");
      out.write("\r\n");
      out.write("div#login td#space{\r\n");
      out.write("\twidth: 240px;\r\n");
      out.write("\t}\r\n");
      out.write("\r\n");
      out.write("div#login td.tip{\r\n");
      out.write("\twidth: 60px;\r\n");
      out.write("\tcolor: a7b8c1;\r\n");
      out.write("\tfont-size: 13px;\r\n");
      out.write("\tpadding-top: 3px;\r\n");
      out.write("\t}\r\n");
      out.write("div#login td#submittd{\r\n");
      out.write("\twidth: 60px;\r\n");
      out.write("\tfont-size: 14px;\r\n");
      out.write("\tpadding:0 5px 0 10px;\r\n");
      out.write("\t}\r\n");
      out.write("div#login td#guesttd{\r\n");
      out.write("\twidth: 60px;\r\n");
      out.write("\tfont-size: 14px;\r\n");
      out.write("\tpadding:0;\r\n");
      out.write("\t}\r\n");
      out.write("\r\n");
      out.write("div#login input.inputtext{\r\n");
      out.write("\twidth: 80px;\r\n");
      out.write("\theight: 14px;\r\n");
      out.write("\tborder: 1px solid #a7b8c1;\r\n");
      out.write("\t}\r\n");
      out.write("div#login input#submit{\r\n");
      out.write("\twidth: 50px;\r\n");
      out.write("\tborder: 1px solid #006699;\r\n");
      out.write("\tbackground-color: #edeff0;\r\n");
      out.write("\t}\r\n");
      out.write("div#login input#guest{\r\n");
      out.write("\twidth: 50px;\r\n");
      out.write("\tborder: 1px solid #006699;\r\n");
      out.write("\tbackground-color: #edeff0;\r\n");
      out.write("\t}\r\n");
      out.write("\r\n");
      out.write(".style1 {font-size: 12px}\r\n");
      out.write("</style>\r\n");
      out.write("</head>\r\n");
      out.write("\r\n");
      out.write("<body  onload=\"doStart(MyDiv)\">\r\n");
      out.write("<STYLE>\r\n");
      out.write("  DIV {width: 609; font-size: 40pt; font-family: Tahoma;font-weight: bold;}\r\n");
      out.write("</STYLE>\r\n");
      out.write("<SCRIPT LANGUAGE=\"JavaScript\">\r\n");
      out.write("var count=0; var thePhase=0; var aniOn=0;\r\n");
      out.write("var theStrength=0;var maxCount=40;var maxStrength=100;var theCount=0;\r\n");
      out.write("var colorList=new Array(\"red\", \"blue\", \"green\");\r\n");
      out.write("var oDiv=null;\r\n");
      out.write("var oQueue=new Array();\r\n");
      out.write("function doStart(obj)\r\n");
      out.write("{\r\n");
      out.write("oDiv=obj;\r\n");
      out.write("oQueue.push(\"在选车？\");\r\n");
      out.write("oQueue.push(\"在追寻幸福？\");\r\n");
      out.write("oQueue.push(\"@请注册克莱斯勒论坛@\");\r\n");
      out.write("if(obj==null)return;\r\n");
      out.write("if(!oQueue.length)return;\r\n");
      out.write("oDiv.innerHTML=oQueue.shift();\r\n");
      out.write("var ctrlRng=document.body.createControlRange()\r\n");
      out.write("ctrlRng.add(oDiv)\r\n");
      out.write("ctrlRng.select();\r\n");
      out.write("ctrlRng.execCommand(\"SelectAll\")\r\n");
      out.write("    theCount=0;\r\n");
      out.write("doFilt();\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function getStrength(pos)\r\n");
      out.write("{\r\n");
      out.write("var ret=0\r\n");
      out.write("if(pos<maxCount)\r\n");
      out.write("{\r\n");
      out.write("ret=maxStrength*pos*pos/(maxCount*maxCount);\r\n");
      out.write("}\r\n");
      out.write("else if(pos==maxCount)\r\n");
      out.write("{\r\n");
      out.write("strNext=oQueue.shift()\r\n");
      out.write("oDiv.innerHTML=strNext;\r\n");
      out.write("rndNum=Math.floor(Math.random() * 3)\r\n");
      out.write("oDiv.style.filter+=\"glow(color=\" +  colorList[rndNum] + \", strength=5)\"\r\n");
      out.write("ret=maxStrength;\r\n");
      out.write("}\r\n");
      out.write("else if(pos<2*maxCount)\r\n");
      out.write("{\r\n");
      out.write("pos=2*maxCount-pos;\r\n");
      out.write("ret=maxStrength*pos*pos/(maxCount*maxCount);\r\n");
      out.write("}\r\n");
      out.write("else\r\n");
      out.write("ret=0;\r\n");
      out.write("ret=Math.ceil(ret)\r\n");
      out.write("return ret;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function anitext(){\r\n");
      out.write("  thePhase=(thePhase + 10)\r\n");
      out.write("  oDiv.filters[0].phase=thePhase\r\n");
      out.write("  theStrength=getStrength(++theCount);\r\n");
      out.write("  window.status=theStrength\r\n");
      out.write("  if(theStrength==0)theCount=0;\r\n");
      out.write("\r\n");
      out.write("  if(oQueue.length>0 || theStrength>0)\r\n");
      out.write("  {\r\n");
      out.write("    oDiv.filters[0].strength=theStrength;\r\n");
      out.write("    oTO=window.setTimeout(\"anitext()\",0200,\"JavaScript\")\r\n");
      out.write("  }\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function doFilt(){\r\n");
      out.write("  oDiv.style.filter=\"wave(add=0, freq=3, lightstrength=50, phase=0, strength=2, enabled=1); \"\r\n");
      out.write("  rndNum=Math.floor(Math.random() * 3)\r\n");
      out.write("  oDiv.style.filter+=\"glow(color=\" +  colorList[rndNum] + \", strength=5)\"\r\n");
      out.write("  anitext()\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function removeFilt(){\r\n");
      out.write("  window.clearTimeout(oTO)\r\n");
      out.write("  oDiv.style.filter=\" \"\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function arrPush(item)\r\n");
      out.write("{\r\n");
      out.write("this[this.length]=item;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function arrShift()\r\n");
      out.write("{\r\n");
      out.write("var item=this[0];\r\n");
      out.write("var nLen=this.length;\r\n");
      out.write("for(var i=0;i<nLen-1;i++)\r\n");
      out.write("this[i]=this[i+1];\r\n");
      out.write("this.length--;\r\n");
      out.write("return item;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("Array.prototype.push=arrPush;\r\n");
      out.write("Array.prototype.shift=arrShift;\r\n");
      out.write("\r\n");
      out.write("</SCRIPT>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<div id=\"flash\">  </map>\r\n");
      out.write("  <p><table>\r\n");
      out.write("             <tr>\r\n");
      out.write("\t\t\t <td height=\"497\" align=\"left\" valign=\"top\"><p>\r\n");
      out.write("\t\t\t   <marquee direction=\"up\"  height=\"500\" scrollamount=\"10\">\r\n");
      out.write(" \t\t\t   <p>&nbsp;</p>\r\n");
      out.write("\t\t\t   <p>&nbsp;</p>\t\t\t   <p>\r\n");
      out.write("\t\t\t   </marquee>\r\n");
      out.write("\t\t\t   \r\n");
      out.write("\t\t\t   </p></td>\r\n");
      out.write("\t\t\t   <td width=\"544\" align=\"right\" valign=\"bottom\"><table valign=\"top\">\r\n");
      out.write("\t\t\t   <DIV ID=\"MyDiv\" align=\"center\">~欢迎光临克莱斯勒BBS~</DIV>\r\n");
      out.write("\t\t\t   </table>\r\n");
      out.write("\t\t\t   <p valign=\"right\"><img src=\"img/CarreraGT.jpg\" width=\"540\" height=\"288\"></p></td>\r\n");
      out.write("\t\t\t <td width=\"174\" valign=\"top\"><p>\r\n");
      out.write("\t\t\t \r\n");
      out.write("\t\t\t<marquee  direction=\"down\" width=\"150\" height=\"500\" scrollamount=\"10\" >\r\n");
      out.write("\t\t\t <img src=\"img/1028064_070607perspective12.jpg\" width=\"165\" height=\"103\">\r\n");
      out.write("\t\t\t <p><img src=\"img/2006020712562748486.jpg\" width=\"168\" height=\"98\"></p>\r\n");
      out.write("\t\t\t <p><img src=\"img/1057373_070719car08.jpg\" width=\"169\" height=\"119\"></p>\r\n");
      out.write("\t\t\t <p><img src=\"img/206.jpg\" width=\"173\" height=\"118\">\r\n");
      out.write("\t\t\t   \r\n");
      out.write("\t\t    </marquee>\r\n");
      out.write("\t\t\t   \r\n");
      out.write("\t\t\t   </p></td>\r\n");
      out.write("\t\t\t </tr></table>\r\n");
      out.write("  <form id=\"form1\" name=\"id\"  action=\"/Web/logs\" method=\"post\">\r\n");
      out.write("    <table width=\"744\" cellpadding = \"0\" cellspacing=\"0\">\r\n");
      out.write("      <!--DWLayoutTable-->\r\n");
      out.write("      <tr align=\"center\">\r\n");
      out.write("        <td width=\"46\" height=\"24\">&nbsp;</td>\r\n");
      out.write("        <td rowspan=\"2\" align=\"right\" valign=\"top\" class=\"tip\">用户名</td>\r\n");
      out.write("        <td width=\"100\" valign=\"top\" ><input class=\"inputtext\" name=\"uname\" type=\"text\" id=\"txtUserId\" tabindex=\"1\" onFocus=\"this.select();\"  onMouseOver=\"this.focus();\" onKeyPress=\"return focusNext();\" maxlength=\"12\" /></td>\r\n");
      out.write("        <td width=\"12\">&nbsp;</td>\r\n");
      out.write("        <td width=\"42\" valign=\"middle\" class=\"tip\">密码:</td>\r\n");
      out.write("        <td width=\"100\" align=\"center\" valign=\"middle\"><input class=\"inputtext\" name=\"pwd\" type=\"password\" id=\"txtPassword\" tabindex=\"2\" onFocus=\"this.select();\" onMouseOver=\"this.focus();\"  /></td>\r\n");
      out.write("        <td width=\"55\" rowspan=\"2\" valign=\"top\" id=\"submittd\"><input class=\"bu\" id=\"submit\" type=\"submit\" name=\"submit\" value=\"登录\"  /></td>\r\n");
      out.write("        <td width=\"7\">&nbsp;</td>\r\n");
      out.write("        <td width=\"118\" align=\"center\" valign=\"middle\"><a href=\"usReg.html\"><img src=\"img/hot_red_folder.gif\" width=\"15\" height=\"16\" border=\"0\">注册论坛</a></td>\r\n");
      out.write("        <td width=\"41\">&nbsp;</td>\r\n");
      out.write("      </tr>\r\n");
      out.write("      <tr align=\"center\">\r\n");
      out.write("        <td height=\"15\">&nbsp;</td>\r\n");
      out.write("        <td>&nbsp;</td>\r\n");
      out.write("        <td>&nbsp;</td>\r\n");
      out.write("        <td>&nbsp;</td>\r\n");
      out.write("        <td>&nbsp;</td>\r\n");
      out.write("        <td>&nbsp;</td>\r\n");
      out.write("        <td>&nbsp;</td>\r\n");
      out.write("        <td>&nbsp;</td>\r\n");
      out.write("      </tr>\r\n");
      out.write("    </table>\r\n");
      out.write("  </form>\r\n");
      out.write("  <p align=\"center\" class=\"style1\"> @本论坛为只对注册用户开放,第一次访问请注册@\r\n");
      out.write("  </p>\r\n");
      out.write("</div>\r\n");
      out.write("<div><span class=\"style1\">推荐使用<strong>Telnet</strong>方式登录（<a href=\"telnet:tele.lilacbbs.com\">电信、教育网</a>，<a href=\"telnet:lilacbbs.com\">网通</a>）。Term下载：<a href=\"http://fterm.zj001.net/\">Fterm</a> | <a href=\"http://www.52hutu.com/cterm/down.htm\">Cterm</a> | <a href=\"http://qterm.sourceforge.net/\">Qterm(For linux)</a></span><br />\r\n");
      out.write("\r\n");
      out.write("\t\t<hr size=\"0.5\" width=\"532px\"/>\r\n");
      out.write("\r\n");
      out.write("\t\t<div></div>\r\n");
      out.write("\t\t<hr size=\"0.5\"  width=\"145px\"/>\r\n");
      out.write("\r\n");
      out.write("\t\t<div class=\"style1\">版权所有 克莱斯勒社区</div>\r\n");
      out.write("\t\t<hr size=\"0.5\"  width=\"150px\"/>\r\n");
      out.write("</div>\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          out.clearBuffer();
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}
